package com.hsmw.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsmw.api.vo.ConcreteItemCountVO;
import com.hsmw.domain.HsmwConcreteInfo;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 混凝土标号信息 Mapper 接口
 * </p>
 *
 * @author tjy
 * @since 2021-08-10
 */
public interface HsmwConcreteInfoMapper extends BaseMapper<HsmwConcreteInfo>, com.hsmw.common.base.BaseMapper<HsmwConcreteInfo> {

    List<HsmwConcreteInfo> selectConcretelist(HashMap param);

    List<ConcreteItemCountVO> selectConcreteItemCount(HashMap param);
    List<ConcreteItemCountVO> selectConcreteCountByMonth(HashMap param);

    List<ConcreteItemCountVO> selectConcreteCountByYear(HashMap param);

    List<ConcreteItemCountVO> selectItemCountByMonth(HashMap param);

    List<ConcreteItemCountVO> selectItemCount(HashMap param);

    String findConcreteNumByPosionId(String id);

    void removeUnusedConcreteInfo(String orderId);
}
